package lg.minecraft.plugin.cobblemoncore.command;

import lg.minecraft.plugin.cobblemoncore.LGCobblemonCore;
import lg.minecraft.plugin.library.command.CommandContext;
import lg.minecraft.plugin.library.command.LGCommand;

/**
 * @author langle__
 * @version 1.0
 */
public class MainCommand extends LGCommand {

    public MainCommand() {
        super(LGCobblemonCore.getInstance(), "LGCobblemonCore", "lgcc");
    }

    @Override
    public void onCommand(CommandContext context) {
        LGCobblemonCore.getInstance().loadConfigData();
        context.getSender().sendMessage(LGCobblemonCore.getMessageConfig().getReloadConfig());
    }

}
